package com.atguigu.jiekou;

public class TestFlyableAndMyRunnable {
    public static void main(String[] args) {
        Bird b = new Bird();
        b.fly();
        b.run();

        Plane p = new Plane();
        p.fly();

        Kite k = new Kite();
        k.fly();

//        Flyable f = new Flyable();//错误，不能直接创建接口的对象，只能创建接口的实现类的对象
    }
}
